//
//  NSMutableDictionary+Format.h
//  ERP
//
//  Created by goldeney on 15/6/10.
//  Copyright (c) 2015年 ShangHai Goldeneye Techonology Co.,Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSMutableDictionary (Format)

- (id)objectFormatForKey:(id)aKey;

- (NSString*)objectFormatStringForKey:(id)aKey;

- (NSInteger)objectFormatIntegerForKey:(id)aKey;

- (NSString*)objectFormatIntStringForKey:(id)aKey;

- (NSNumber*)objectFormatFloatNumberForKey:(id)aKey;

- (CGFloat)objectFormatFloatForKey:(id)aKey;

- (NSNumber*)objectFormatIntegerNumberForKey:(id)aKey;

- (void)setFormatObject:(id)anObject forKey:(id <NSCopying>)aKey;
- (void)setFormatObject:(id)anObject forKey:(id <NSCopying>)aKey defaults:(id)value;

#pragma mark 其他延伸方法;

- (NSString*)objectFormatStringForKey:(id)aKey defaults:(NSString*)defaultValue;
- (NSString*)objectFormatStringForKey:(id)aKey format:(NSString*)format defaults:(NSString*)defaultValue;

@end
